package com.yuzhi.master.sewage.rmstSz.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yuzhi.common.annotation.DictFormat;
import com.yuzhi.master.sewage.rmstSz.entity.request.LocalDateTimeSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(description = "测站设备最新数据")
public class DrainRmstSzViewVo {

    /**
     * 测站代码
     */
    @Schema(description = "测站代码")
    private String irrdRRmstCode;

    @DictFormat(defaultValue = "r_rmst_sttp")
    @Schema(description = "测站名称")
    private String sttp;

    /**
     * 测站名称
     */
    @Schema(description = "测站名称")
    private String stnm;

    @Schema(description = "简称")
    private String shortName;

    @Schema(description = "经度")
    private Double stLong;

    @Schema(description = "纬度")
    private Double stLat;

    /**
     * 前池液位
     */
    @Schema(description = "液位")
    private String qcYw;

    /**
     * 进水瞬时流速
     */
    @Schema(description = "流速")
    private String jsShsLs;

    /**
     * 进水COD
     */
    @Schema(description = "COD")
    private BigDecimal codJs;

    /**
     * 氨氮进水
     */
    @Schema(description = "氨氮")
    private BigDecimal adJs;

    /**
     * 温度
     */
    @Schema(description = "温度")
    private BigDecimal jsSw;

    @Schema(description = "累计进水流量")
    private BigDecimal jsLg;

    @Schema(description = "进水瞬时流量")
    private  String flowInJs;

    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @Schema(description = "采集时间")
    private LocalDateTime cjTime;

}
